//
//  MapDepotModel.m
//  PerfectWorld
//
//  Created by dllo on 16/8/31.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "MapDepotModel.h"
#import "StrategyList.h"
@implementation MapDepotModel

- (void)setValue:(id)value forKey:(NSString *)key {
    [super setValue:value forKey:key];
    if ([key isEqualToString:@"strategyList"]) {
        NSMutableArray<StrategyList *> *array = [NSMutableArray array];
        for (NSDictionary *dic in value) {
            StrategyList * strategyList = [StrategyList modelWithDic:dic];
            [array addObject:strategyList];
        }
        _strategyList = array;
    }
}
@end
